<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>"/>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="shortcut icon" href="images/icon/${his.favicon}" />
		<title>${his.hospitalName}-健康日志</title>
		<link href="style/css.css" rel="stylesheet" type="text/css" />
		<style>
			form {
				margin: 0;
			}
			textarea {
				display: block;
			}
			A.applink:hover {
				border: 2px dotted #DCE6F4;
				padding: 2px;
				background-color: #ffff00;
				color: green;
				text-decoration: none
			}

			A.applink {
				border: 2px dotted #DCE6F4;
				padding: 2px;
				color: #2F5BFF;
				background: transparent;
				text-decoration: none
			}
			
			A.info {
				color: #2F5BFF;
				background: transparent;
				text-decoration: none
			}
			
			A.info:hover {
				color: green;
				background: transparent;
				text-decoration: underline
			}
		</style>
		<script charset="utf-8" src="front/kindeditor.js"></script>
		<script>
			KE.show({
				id : 'content1',
				shadowMode : false,
				autoSetDataMode: false,
				syncType : '', //auto: 姣忔淇敼鏃堕兘浼氬悓姝�; form:鎻愪氦form鏃跺悓姝�; 绌�:涓嶄細鑷姩鍚屾;
				allowPreviewEmoticons : false,
				afterCreate : function(id) {
					KE.event.add(KE.$('example'), 'submit', function() {
						KE.sync(id);
					});
				}
			});
		</script>
	</head>
		<body>
		<jsp:include page="doctor/doctorTop.jsp"></jsp:include>
		<table width="779" border="0" align="center" cellpadding="0"
			cellspacing="0" style="margin-top: 7px">
			<tr>

				<td width="11" align="left" valign="top">
					&nbsp;
				</td>
				<td width="567" align="left" valign="top" class="bk">
					<table width="567" border="0" cellpadding="0" cellspacing="0"
						style="margin-bottom: 20px">
						<tr>
							<td align="left" valign="top" bgcolor="#FFFFFF">
								<table width="525" border="0" cellspacing="0" cellpadding="0"
									style="margin-top: 22px; margin-left: 22px">
									<tr>
										<td>
											<table width="525" height="320" border="0" cellpadding="0"
												cellspacing="0">
												<tr>
													<td valign="top">
																<form id="example" name="example" method="post" action="docNote.do?method=editNote">
																<input type="hidden" name="token" value="<%=Math.random() %>" />
																日记标题：<input name="nb_title" type="text" />${nullEdit}
																	<textarea id="content1" name="testnote" style="width:700px;height:200px;visibility:hidden;"></textarea>
																	<br />
																		<br />
																	<input type="submit" name="button" value="发表" />
																</form>
													</td>
												</tr>
												<tr>
													<td align="center">
														<jsp:include page="doctor/yejiao.jsp"></jsp:include>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		</body>
</html>
